const resizeRank = (rank: any) => {
    let screenWidth = document.body.clientWidth;
    if (screenWidth < 768) {
        rank = 1;
    } else {
        rank = 0;
    }
    return rank
}

export default resizeRank